package com.mankind.ssm.mapper;

import com.mankind.ssm.pojo.RolePermission;

import java.util.List;

public interface RolePermissionMapper {
    int insert(RolePermission record);

    int insertSelective(RolePermission record);

    int deleteByRoleId(Integer roleId);
    int deleteByPermissionId(Integer permissionId);
    List<RolePermission> selectPermissionByRoleId(Integer roleId);
}